package cn.itsource.crm.domain;

import java.math.BigDecimal;
import java.util.Date;

//客户表
public class Customer {
    private Long id;
    private String name;
    private String phone;
    private String email;
    private Date date = new Date();
    private OrderForm orderform;

    public OrderForm getOrderform() {
        return orderform;
    }

    public void setOrderform(OrderForm orderform) {
        this.orderform = orderform;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", date=" + date +
                ", orderform=" + orderform +
                '}';
    }
}
